﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="true" assembly="Ghasam.Business" namespace="Ghasam.Business.Domain.Entity">
	<class name="Customer" table="Customer">
		<id name="Id" type="Int32" unsaved-value="0">
			<column name="ID" sql-type="int" not-null="true" unique="true" index="ID" />
			<generator class="native" />
		</id>

		<property name="CustomerName" column="CustomerName" type="String" length="150" />
		<property name="Balance" column="Balance" type="Single" />
		<property name="IsFormal" column="IsFormal" type="Boolean" />
		<property name="WarningPrice" column="WarningPrice" type="Single" />
		<property name="Telephone" column="Telephone" type="String" length="50" />
		<property name="Address" column="Address" type="String" length="300" />
		<property name="Comment" column="Comment" type="String" length="200" />
		<property name="IsActive" column="IsActive" type="Boolean" />
		<property name="IsDeleted" column="IsDeleted" type="Boolean" />
		<property name="CreateDate" column="CreateDate" type="DateTime" />
		<property name="LastUpdate" column="LastUpdate" type="DateTime" />

		
	</class>
</hibernate-mapping>